<?php use_helper('I18N') ?>

<?php echo form_tag('user/dashboard', array('id' => 'frmlogin', 'name' => 'frmlogin')) ?>

<script type="text/javascript">

animatedcollapse.addDiv('pm_ex_list', 'fade=0,speed=400,group=userlist,hide=0')
animatedcollapse.addDiv('ap_ex_list', 'fade=0,speed=400,group=userlist,hide=1')
animatedcollapse.addDiv('sa_ex_list', 'fade=0,speed=400,group=userlist,hide=1')
animatedcollapse.addDiv('vi_ex_list', 'fade=0,speed=400,group=userlist,hide=1')

animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
	//$: Access to jQuery
	//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
	//state: "block" or "none", depending on state
}

animatedcollapse.init()
</script>

<table width="950">
	<tr>
    	<td valign="top">
        	<table width="100%">
            	<tr>
                	<td align="left" class="welcome">WELCOME <?php echo $_SESSION['user_name']; ?></td>
                    <td width="16">&nbsp;</td>
                    <td width="164"></td>
                    <td width="70" align="right" valign="bottom"><img name="btnLogout" id="btnLogout" onmouseover="roll_over('btnLogout', '/images/logout_btnAF.jpg')" onmouseout="roll_over('btnLogout', '/images/logout_btn.jpg')" src="/images/logout_btn.jpg" border="0" onClick="location.href='/user/logout'" /></td>
                </tr>
            </table>
        </td>
    </tr>  
    <tr>
    	<td height="20" align="center"><?php echo link_to('User List','user/list') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php echo link_to('Structure','structure/list') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php echo link_to('CSS','structure/css') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php echo link_to('Google Analytic','structure/ganalytic') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php echo link_to('Share Script','structure/sharescript') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php echo link_to('Landing Page Title','structure/landingtitle') ?></td>
    </tr>
    <!--tr>
    	<td height="20" align="center"><?php //echo link_to('Structure 1','structure/first') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php //echo link_to('Structure 2','structure/second') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php //echo link_to('Structure 3','structure/third') ?></td>
    </tr>
    <tr>
    	<td height="20" align="center"><?php //echo link_to('Structure 4','structure/fourth') ?></td>
    </tr-->
</table>

</form>
